/*
 * Copyright (c) 2024 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}
html,
body,
#root {
  height: 100% !important;
  width: 100% !important;
  margin: 0;
}
#app {
  width: 100%;
  height: calc(100% - 68px);
}
:focus {
  outline: none !important;
  outline-offset: unset;
}

body.light-theme {
  color: black !important;
  background-color: rgb(229, 229, 229) !important;
}
body.dark-theme {
  color: #d4d4d4 !important;
  background-color: rgb(24, 24, 24) !important;
}
.mosaic-window .mosaic-window-body, .mosaic-preview .mosaic-window-body {
  z-index: 4 !important;
  overflow: unset !important;
}
.mosaic-tile {
  margin: 2px !important;
}
a {
  color: #da70d6 !important;
}
.bp5-tab-indicator-wrapper .bp5-tab-indicator {
  display: none;
}
.mosaic-window-toolbar {
  height: fit-content !important;
}
.monaco-editor {
  outline: none !important;
}
.monaco-editor .scroll-decoration {
  box-shadow: none !important;
}
